package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    R saveSetMeal(SetmealDto setmealDto);

    R pageSetmeal(int page, int pageSize, String name);

    R getSetMealById(Long id);

    R updateSetMeal(SetmealDto setmealDto);

    R updateStatus(List<Setmeal> ids);

    R deleteSetMeal(List<Long> ids);
}
